package com.etime.shycourse.services.account.interfaces;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.shycourse.dao.SettlementMapper;
import com.etime.shycourse.dto.CourseSellConditionDto;
import com.etime.shycourse.dto.SettlementDto;
import com.etime.shycourse.pojo.Course;
import com.etime.shycourse.pojo.Settlement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;
import java.util.List;

/**
 * 在线课程结算统计service层接口（财务使用）
 */
public interface AccountStatisticsService {

    // 根据结算类型和时间段查询结算记录
    public Page<SettlementDto> selectAllSettlement(String settlementtype, String startDate, String endDate, String pagenum, String pagesize);

    // 查询结算记录明细
    public Page<SettlementDto> selectSettlementDetail(String settlementtype,String startDate,String endDate,String settlementuserid,String pagenum,String pagesize);

    // 按照课程类型分组查询课程销售情况
    public Page<CourseSellConditionDto> selectAllCourse(String coursetypeid,String pagenum,String pagesize);

    // 查询课程销售明细
    public Page<SettlementDto> selectCourseDetail(String courseid,String pagenum,String pagesize);
}
